<div id="top-bar" style="display:flex;">
        <button id="goIndex" onclick="goIndex()" class="session-name" style="margin-left:10px;font-size:8px;width:80px;height: 24px;">返回首页</button>
</div>

<script>
    function goIndex(){
        window.location.href='./'
    }
</script>

    